package org.jeecg.modules.business.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Time;
import java.util.Date;
import java.util.List;

@Data
public class BusSchemeLayoutDailyPriceListDto {

    @ApiModelProperty(value = "每日房价信息")
    private List<BusSchemeLayoutDailyPriceDetailDto> list;

    @ApiModelProperty(value = "当日Id")
    private String id;

    @ApiModelProperty(value = "关联租户")
    private String tenantId;

    @ApiModelProperty(value = "关联酒店")
    private String hotelId;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date date;

    @ApiModelProperty(value = "当日房价")
    private BigDecimal money;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "默认离店时间")
    private Time departureTime;

    @ApiModelProperty(value = "关联房价方案")
    private String schemeId;

    @ApiModelProperty(value = "关联房型")
    private String layoutId;

    @ApiModelProperty(value = "门市价")
    private BigDecimal layoutPrice;
}
